<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CANopenNode: CO_NMT_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CANopenNode
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structCO__NMT__t.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">CO_NMT_t Struct Reference<div class="ingroups"><a class="el" href="group__CO__CANopen__301.html">CANopen_301</a> &raquo; <a class="el" href="group__CO__NMT__Heartbeat.html">NMT and Heartbeat</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>NMT consumer and Heartbeat producer object.  
 <a href="structCO__NMT__t.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="CO__NMT__Heartbeat_8h_source.html">CO_NMT_Heartbeat.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:abebf973c819c48fa36c48ba2eb84818a"><td class="memItemLeft" align="right" valign="top"><a id="abebf973c819c48fa36c48ba2eb84818a"></a>
<a class="el" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#abebf973c819c48fa36c48ba2eb84818a">operatingState</a></td></tr>
<tr class="memdesc:abebf973c819c48fa36c48ba2eb84818a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current NMT operating state. <br /></td></tr>
<tr class="separator:abebf973c819c48fa36c48ba2eb84818a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a544df8108d0853dd6d2938fa253ef018"><td class="memItemLeft" align="right" valign="top"><a id="a544df8108d0853dd6d2938fa253ef018"></a>
<a class="el" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#a544df8108d0853dd6d2938fa253ef018">operatingStatePrev</a></td></tr>
<tr class="memdesc:a544df8108d0853dd6d2938fa253ef018"><td class="mdescLeft">&#160;</td><td class="mdescRight">Previous NMT operating state. <br /></td></tr>
<tr class="separator:a544df8108d0853dd6d2938fa253ef018"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a56fcf387bd2922ece9106538d986ef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#a7a56fcf387bd2922ece9106538d986ef">internalCommand</a></td></tr>
<tr class="memdesc:a7a56fcf387bd2922ece9106538d986ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">NMT internal command from CO_NMT_receive() or <a class="el" href="group__CO__NMT__Heartbeat.html#ga9d557708be1bfb9b169718abea90b663" title="Send NMT master command.">CO_NMT_sendCommand()</a>, processed in <a class="el" href="group__CO__NMT__Heartbeat.html#ga724ff5b1d9cfee955914f365514deda0" title="Process received NMT and produce Heartbeat messages.">CO_NMT_process()</a>.  <a href="structCO__NMT__t.html#a7a56fcf387bd2922ece9106538d986ef">More...</a><br /></td></tr>
<tr class="separator:a7a56fcf387bd2922ece9106538d986ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cf0441aff58a3e208d1ed221a26709c"><td class="memItemLeft" align="right" valign="top"><a id="a6cf0441aff58a3e208d1ed221a26709c"></a>
<a class="el" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#a6cf0441aff58a3e208d1ed221a26709c">nodeId</a></td></tr>
<tr class="memdesc:a6cf0441aff58a3e208d1ed221a26709c"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="group__CO__NMT__Heartbeat.html#ga53c92521fff0fab405f8a372702c7259" title="Initialize NMT and Heartbeat producer object.">CO_NMT_init()</a> <br /></td></tr>
<tr class="separator:a6cf0441aff58a3e208d1ed221a26709c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c28cae6c3c7319c8fdfe694a3b4d9a7"><td class="memItemLeft" align="right" valign="top"><a id="a0c28cae6c3c7319c8fdfe694a3b4d9a7"></a>
<a class="el" href="group__CO__NMT__Heartbeat.html#gaf92cf5943801e5dda84654345cc3d67f">CO_NMT_control_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#a0c28cae6c3c7319c8fdfe694a3b4d9a7">NMTcontrol</a></td></tr>
<tr class="memdesc:a0c28cae6c3c7319c8fdfe694a3b4d9a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="group__CO__NMT__Heartbeat.html#ga53c92521fff0fab405f8a372702c7259" title="Initialize NMT and Heartbeat producer object.">CO_NMT_init()</a> <br /></td></tr>
<tr class="separator:a0c28cae6c3c7319c8fdfe694a3b4d9a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a983a4ba9a004d216e32414c0a38736c4"><td class="memItemLeft" align="right" valign="top"><a id="a983a4ba9a004d216e32414c0a38736c4"></a>
<a class="el" href="group__CO__dataTypes.html#ga33594304e786b158f3fb30289278f5af">uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#a983a4ba9a004d216e32414c0a38736c4">HBproducerTime_us</a></td></tr>
<tr class="memdesc:a983a4ba9a004d216e32414c0a38736c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Producer heartbeat time, calculated from OD 0x1017. <br /></td></tr>
<tr class="separator:a983a4ba9a004d216e32414c0a38736c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0babc82bd6dfde07511b87167941b4f0"><td class="memItemLeft" align="right" valign="top"><a id="a0babc82bd6dfde07511b87167941b4f0"></a>
<a class="el" href="group__CO__dataTypes.html#ga33594304e786b158f3fb30289278f5af">uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#a0babc82bd6dfde07511b87167941b4f0">HBproducerTimer</a></td></tr>
<tr class="memdesc:a0babc82bd6dfde07511b87167941b4f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal timer for HB producer. <br /></td></tr>
<tr class="separator:a0babc82bd6dfde07511b87167941b4f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60848ed23fb775dc4412be0e7ff9bc4b"><td class="memItemLeft" align="right" valign="top"><a id="a60848ed23fb775dc4412be0e7ff9bc4b"></a>
<a class="el" href="structCO__EM__t.html">CO_EM_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#a60848ed23fb775dc4412be0e7ff9bc4b">em</a></td></tr>
<tr class="memdesc:a60848ed23fb775dc4412be0e7ff9bc4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="group__CO__NMT__Heartbeat.html#ga53c92521fff0fab405f8a372702c7259" title="Initialize NMT and Heartbeat producer object.">CO_NMT_init()</a> <br /></td></tr>
<tr class="separator:a60848ed23fb775dc4412be0e7ff9bc4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa1a7f9278595d82eaddbee8ac434ca9"><td class="memItemLeft" align="right" valign="top"><a id="aaa1a7f9278595d82eaddbee8ac434ca9"></a>
<a class="el" href="structCO__CANmodule__t.html">CO_CANmodule_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#aaa1a7f9278595d82eaddbee8ac434ca9">NMT_CANdevTx</a></td></tr>
<tr class="memdesc:aaa1a7f9278595d82eaddbee8ac434ca9"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="group__CO__NMT__Heartbeat.html#ga53c92521fff0fab405f8a372702c7259" title="Initialize NMT and Heartbeat producer object.">CO_NMT_init()</a> <br /></td></tr>
<tr class="separator:aaa1a7f9278595d82eaddbee8ac434ca9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c9ca6315daa74257699ff657165d409"><td class="memItemLeft" align="right" valign="top"><a id="a6c9ca6315daa74257699ff657165d409"></a>
<a class="el" href="structCO__CANtx__t.html">CO_CANtx_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#a6c9ca6315daa74257699ff657165d409">NMT_TXbuff</a></td></tr>
<tr class="memdesc:a6c9ca6315daa74257699ff657165d409"><td class="mdescLeft">&#160;</td><td class="mdescRight">CAN transmit buffer for NMT master message. <br /></td></tr>
<tr class="separator:a6c9ca6315daa74257699ff657165d409"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedcf17c643f41370a978794301f00169"><td class="memItemLeft" align="right" valign="top"><a id="aedcf17c643f41370a978794301f00169"></a>
<a class="el" href="structCO__CANmodule__t.html">CO_CANmodule_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#aedcf17c643f41370a978794301f00169">HB_CANdevTx</a></td></tr>
<tr class="memdesc:aedcf17c643f41370a978794301f00169"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="group__CO__NMT__Heartbeat.html#ga53c92521fff0fab405f8a372702c7259" title="Initialize NMT and Heartbeat producer object.">CO_NMT_init()</a> <br /></td></tr>
<tr class="separator:aedcf17c643f41370a978794301f00169"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9fb1bb36758a1ff27b44c20fd6a0192"><td class="memItemLeft" align="right" valign="top"><a id="aa9fb1bb36758a1ff27b44c20fd6a0192"></a>
<a class="el" href="structCO__CANtx__t.html">CO_CANtx_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#aa9fb1bb36758a1ff27b44c20fd6a0192">HB_TXbuff</a></td></tr>
<tr class="memdesc:aa9fb1bb36758a1ff27b44c20fd6a0192"><td class="mdescLeft">&#160;</td><td class="mdescRight">CAN transmit buffer for heartbeat message. <br /></td></tr>
<tr class="separator:aa9fb1bb36758a1ff27b44c20fd6a0192"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31b37e4e64737bb3ef4331d607adbed6"><td class="memItemLeft" align="right" valign="top"><a id="a31b37e4e64737bb3ef4331d607adbed6"></a>
void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#a31b37e4e64737bb3ef4331d607adbed6">pFunctSignalPre</a> )(void *object)</td></tr>
<tr class="memdesc:a31b37e4e64737bb3ef4331d607adbed6"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="group__CO__NMT__Heartbeat.html#ga58b6123938e950b5e8c38ec0b9caeec4" title="Initialize NMT callback function after message preprocessed.">CO_NMT_initCallbackPre()</a> or NULL. <br /></td></tr>
<tr class="separator:a31b37e4e64737bb3ef4331d607adbed6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ae2c962bc4aaa477555920dc0323302"><td class="memItemLeft" align="right" valign="top"><a id="a9ae2c962bc4aaa477555920dc0323302"></a>
void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#a9ae2c962bc4aaa477555920dc0323302">functSignalObjectPre</a></td></tr>
<tr class="memdesc:a9ae2c962bc4aaa477555920dc0323302"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="group__CO__NMT__Heartbeat.html#ga58b6123938e950b5e8c38ec0b9caeec4" title="Initialize NMT callback function after message preprocessed.">CO_NMT_initCallbackPre()</a> or NULL. <br /></td></tr>
<tr class="separator:a9ae2c962bc4aaa477555920dc0323302"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64bc9d74c871bf560d8b5db85e4d051e"><td class="memItemLeft" align="right" valign="top"><a id="a64bc9d74c871bf560d8b5db85e4d051e"></a>
void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCO__NMT__t.html#a64bc9d74c871bf560d8b5db85e4d051e">pFunctNMT</a> )(<a class="el" href="group__CO__NMT__Heartbeat.html#ga1e8c2a6c0fd4a33183503d25a7c6d744">CO_NMT_internalState_t</a> state)</td></tr>
<tr class="memdesc:a64bc9d74c871bf560d8b5db85e4d051e"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="group__CO__NMT__Heartbeat.html#ga87d153e39b32586b67ee6dd47dfce787" title="Initialize NMT callback function.">CO_NMT_initCallbackChanged()</a> or NULL. <br /></td></tr>
<tr class="separator:a64bc9d74c871bf560d8b5db85e4d051e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>NMT consumer and Heartbeat producer object. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a7a56fcf387bd2922ece9106538d986ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a56fcf387bd2922ece9106538d986ef">&#9670;&nbsp;</a></span>internalCommand</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__CO__dataTypes.html#gaba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> CO_NMT_t::internalCommand</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>NMT internal command from CO_NMT_receive() or <a class="el" href="group__CO__NMT__Heartbeat.html#ga9d557708be1bfb9b169718abea90b663" title="Send NMT master command.">CO_NMT_sendCommand()</a>, processed in <a class="el" href="group__CO__NMT__Heartbeat.html#ga724ff5b1d9cfee955914f365514deda0" title="Process received NMT and produce Heartbeat messages.">CO_NMT_process()</a>. </p>
<p>0 if no command or CO_NMT_command_t </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>301/<a class="el" href="CO__NMT__Heartbeat_8h_source.html">CO_NMT_Heartbeat.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structCO__NMT__t.html">CO_NMT_t</a></li>
    <li class="footer">Generated on Thu Dec 24 2020 14:30:50 for CANopenNode by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
